package forever.com.service.impl;

import forever.com.dao.impl.AdminDAOImpl;
import forever.com.dao.intf.AdminDAOIntf;
import forever.com.service.intf.AdminIntf;
import forever.com.vo.AdminVO;
import forever.com.vo.TogetherTripVO;
import forever.com.vo.TripMemoryVO;

public class AdminService implements AdminIntf {

	AdminDAOIntf dao = new AdminDAOImpl();
	
	public AdminVO adminLogin(AdminVO admin) {
		return dao.adminLogin(admin);
	}

	public boolean checkMemory(TripMemoryVO tripMemory) {
		return dao.checkMemory(tripMemory);
	}

	public boolean checkToTrip(TogetherTripVO togetherTrip) {
		return dao.checkToTrip(togetherTrip);
	}

}
